<template>
  <div>
    <Demo v-if="isshow"/>
    <button  @click="isshow=!isshow">消失</button>
  </div>
</template>

<script>
import Demo from "./components/Demo.vue";
export default {
  components:{
    Demo
  },
  data() {
    return {
      isshow:true
    };
  },

  mounted() {
    
  },

  methods: {
    
  },
};
</script>

<style lang="scss" scoped>

</style>